#ifndef MSGDIALOG_H
#define MSGDIALOG_H

#include <QWidget>
#include "ui_msgdialog.h"
#include "usermng.h"
#include "FGMsgMng.h"

class msgDialog : public QWidget
{
	Q_OBJECT

public:
	msgDialog(QWidget *parent = 0);
	~msgDialog();

	userViewInfo UserInfo() const { return userInfo; }
	void UserInfo(const userViewInfo& val) { userInfo = val; }
	bool init;
private:
	Ui::msgDialogClass ui;

	userViewInfo userInfo;
public slots:
	void setTextReceive(const QString& receiveInfo);

private slots:
	void on_textEdit_textChanged();
	void on_pushButton_clicked();
	void on_pushButton_cancel_clicked();

};

#endif // MSGDIALOG_H
